Imports FarPoint.Win.Spread
Public Class ConfigPagina
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
            'headerfooter.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents Button2 As System.Windows.Forms.Button
    'Private headerfooter As New headerfooter
    Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
    Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
    Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
    Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton
    Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
    Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
    Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents txtEncabezado As System.Windows.Forms.TextBox
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
    Friend WithEvents optIzquierda As System.Windows.Forms.RadioButton
    Friend WithEvents optCentrar As System.Windows.Forms.RadioButton
    Friend WithEvents optDerecha As System.Windows.Forms.RadioButton
    Friend WithEvents txtPie As System.Windows.Forms.TextBox
    Friend WithEvents chkCurP As System.Windows.Forms.CheckBox
    Friend WithEvents chkNegP As System.Windows.Forms.CheckBox
    Friend WithEvents chkNorP As System.Windows.Forms.CheckBox
    Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
    Friend WithEvents optDerP As System.Windows.Forms.RadioButton
    Friend WithEvents optCenP As System.Windows.Forms.RadioButton
    Friend WithEvents optIzqP As System.Windows.Forms.RadioButton
    Friend WithEvents chkNegrita As System.Windows.Forms.CheckBox
    Friend WithEvents chkNormal As System.Windows.Forms.CheckBox
    Friend WithEvents chkCursiva As System.Windows.Forms.CheckBox
    Friend WithEvents Extender1 As Extendido.Extender
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(ConfigPagina))
        Me.Button1 = New System.Windows.Forms.Button
        Me.Button2 = New System.Windows.Forms.Button
        Me.TabControl1 = New System.Windows.Forms.TabControl
        Me.TabPage1 = New System.Windows.Forms.TabPage
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.Label4 = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label1 = New System.Windows.Forms.Label
        Me.TextBox4 = New System.Windows.Forms.TextBox
        Me.TextBox3 = New System.Windows.Forms.TextBox
        Me.TextBox2 = New System.Windows.Forms.TextBox
        Me.TextBox1 = New System.Windows.Forms.TextBox
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.RadioButton2 = New System.Windows.Forms.RadioButton
        Me.RadioButton1 = New System.Windows.Forms.RadioButton
        Me.PictureBox2 = New System.Windows.Forms.PictureBox
        Me.PictureBox1 = New System.Windows.Forms.PictureBox
        Me.TabPage2 = New System.Windows.Forms.TabPage
        Me.GroupBox3 = New System.Windows.Forms.GroupBox
        Me.chkCursiva = New System.Windows.Forms.CheckBox
        Me.chkNegrita = New System.Windows.Forms.CheckBox
        Me.chkNormal = New System.Windows.Forms.CheckBox
        Me.GroupBox5 = New System.Windows.Forms.GroupBox
        Me.optDerecha = New System.Windows.Forms.RadioButton
        Me.optCentrar = New System.Windows.Forms.RadioButton
        Me.optIzquierda = New System.Windows.Forms.RadioButton
        Me.txtEncabezado = New System.Windows.Forms.TextBox
        Me.Label5 = New System.Windows.Forms.Label
        Me.TabPage3 = New System.Windows.Forms.TabPage
        Me.GroupBox4 = New System.Windows.Forms.GroupBox
        Me.chkCurP = New System.Windows.Forms.CheckBox
        Me.chkNegP = New System.Windows.Forms.CheckBox
        Me.chkNorP = New System.Windows.Forms.CheckBox
        Me.GroupBox6 = New System.Windows.Forms.GroupBox
        Me.optDerP = New System.Windows.Forms.RadioButton
        Me.optCenP = New System.Windows.Forms.RadioButton
        Me.optIzqP = New System.Windows.Forms.RadioButton
        Me.Label7 = New System.Windows.Forms.Label
        Me.txtPie = New System.Windows.Forms.TextBox
        Me.Extender1 = New Extendido.Extender(Me.components)
        Me.TabControl1.SuspendLayout()
        Me.TabPage1.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        Me.GroupBox1.SuspendLayout()
        Me.TabPage2.SuspendLayout()
        Me.GroupBox3.SuspendLayout()
        Me.TabPage3.SuspendLayout()
        Me.GroupBox4.SuspendLayout()
        Me.SuspendLayout()
        '
        'Button1
        '
        Me.Extender1.SetCampoAfectar(Me.Button1, "")
        Me.Extender1.SetCampoLlave(Me.Button1, "")
        Me.Extender1.SetCampoMostrar(Me.Button1, "")
        Me.Extender1.SetConsulta(Me.Button1, "")
        Me.Extender1.SetEsEtiqueta(Me.Button1, False)
        Me.Extender1.SetEsIdentity(Me.Button1, False)
        Me.Extender1.SetEsRequerido(Me.Button1, False)
        Me.Button1.Location = New System.Drawing.Point(204, 260)
        Me.Button1.Name = "Button1"
        Me.Button1.Size = New System.Drawing.Size(88, 24)
        Me.Button1.TabIndex = 4
        Me.Extender1.SetTabla(Me.Button1, "")
        Me.Button1.Text = "#Cancelar#"
        Me.Extender1.SetTipo(Me.Button1, "")
        Me.Extender1.SetValorPorDefault(Me.Button1, "")
        '
        'Button2
        '
        Me.Extender1.SetCampoAfectar(Me.Button2, "")
        Me.Extender1.SetCampoLlave(Me.Button2, "")
        Me.Extender1.SetCampoMostrar(Me.Button2, "")
        Me.Extender1.SetConsulta(Me.Button2, "")
        Me.Extender1.SetEsEtiqueta(Me.Button2, False)
        Me.Extender1.SetEsIdentity(Me.Button2, False)
        Me.Extender1.SetEsRequerido(Me.Button2, False)
        Me.Button2.Location = New System.Drawing.Point(110, 260)
        Me.Button2.Name = "Button2"
        Me.Button2.Size = New System.Drawing.Size(88, 24)
        Me.Button2.TabIndex = 5
        Me.Extender1.SetTabla(Me.Button2, "")
        Me.Button2.Text = "#Aceptar#"
        Me.Extender1.SetTipo(Me.Button2, "")
        Me.Extender1.SetValorPorDefault(Me.Button2, "")
        '
        'TabControl1
        '
        Me.Extender1.SetCampoAfectar(Me.TabControl1, "")
        Me.Extender1.SetCampoLlave(Me.TabControl1, "")
        Me.Extender1.SetCampoMostrar(Me.TabControl1, "")
        Me.Extender1.SetConsulta(Me.TabControl1, "")
        Me.TabControl1.Controls.Add(Me.TabPage1)
        Me.TabControl1.Controls.Add(Me.TabPage2)
        Me.TabControl1.Controls.Add(Me.TabPage3)
        Me.Extender1.SetEsEtiqueta(Me.TabControl1, False)
        Me.Extender1.SetEsIdentity(Me.TabControl1, False)
        Me.Extender1.SetEsRequerido(Me.TabControl1, False)
        Me.TabControl1.Location = New System.Drawing.Point(4, 6)
        Me.TabControl1.Name = "TabControl1"
        Me.TabControl1.SelectedIndex = 0
        Me.TabControl1.Size = New System.Drawing.Size(288, 248)
        Me.TabControl1.TabIndex = 6
        Me.Extender1.SetTabla(Me.TabControl1, "")
        Me.Extender1.SetTipo(Me.TabControl1, "")
        Me.Extender1.SetValorPorDefault(Me.TabControl1, "")
        '
        'TabPage1
        '
        Me.Extender1.SetCampoAfectar(Me.TabPage1, "")
        Me.Extender1.SetCampoLlave(Me.TabPage1, "")
        Me.Extender1.SetCampoMostrar(Me.TabPage1, "")
        Me.Extender1.SetConsulta(Me.TabPage1, "")
        Me.TabPage1.Controls.Add(Me.GroupBox2)
        Me.TabPage1.Controls.Add(Me.GroupBox1)
        Me.Extender1.SetEsEtiqueta(Me.TabPage1, False)
        Me.Extender1.SetEsIdentity(Me.TabPage1, False)
        Me.Extender1.SetEsRequerido(Me.TabPage1, False)
        Me.TabPage1.Location = New System.Drawing.Point(4, 22)
        Me.TabPage1.Name = "TabPage1"
        Me.TabPage1.Size = New System.Drawing.Size(280, 222)
        Me.TabPage1.TabIndex = 0
        Me.Extender1.SetTabla(Me.TabPage1, "")
        Me.TabPage1.Text = "General"
        Me.Extender1.SetTipo(Me.TabPage1, "")
        Me.Extender1.SetValorPorDefault(Me.TabPage1, "")
        '
        'GroupBox2
        '
        Me.Extender1.SetCampoAfectar(Me.GroupBox2, "")
        Me.Extender1.SetCampoLlave(Me.GroupBox2, "")
        Me.Extender1.SetCampoMostrar(Me.GroupBox2, "")
        Me.Extender1.SetConsulta(Me.GroupBox2, "")
        Me.GroupBox2.Controls.Add(Me.Label4)
        Me.GroupBox2.Controls.Add(Me.Label3)
        Me.GroupBox2.Controls.Add(Me.Label2)
        Me.GroupBox2.Controls.Add(Me.Label1)
        Me.GroupBox2.Controls.Add(Me.TextBox4)
        Me.GroupBox2.Controls.Add(Me.TextBox3)
        Me.GroupBox2.Controls.Add(Me.TextBox2)
        Me.GroupBox2.Controls.Add(Me.TextBox1)
        Me.Extender1.SetEsEtiqueta(Me.GroupBox2, False)
        Me.Extender1.SetEsIdentity(Me.GroupBox2, False)
        Me.Extender1.SetEsRequerido(Me.GroupBox2, False)
        Me.GroupBox2.Location = New System.Drawing.Point(3, 80)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(272, 64)
        Me.GroupBox2.TabIndex = 10
        Me.Extender1.SetTabla(Me.GroupBox2, "")
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "#MargenesMilim#"
        Me.Extender1.SetTipo(Me.GroupBox2, "")
        Me.Extender1.SetValorPorDefault(Me.GroupBox2, "")
        '
        'Label4
        '
        Me.Extender1.SetCampoAfectar(Me.Label4, "")
        Me.Extender1.SetCampoLlave(Me.Label4, "")
        Me.Extender1.SetCampoMostrar(Me.Label4, "")
        Me.Extender1.SetConsulta(Me.Label4, "")
        Me.Extender1.SetEsEtiqueta(Me.Label4, False)
        Me.Extender1.SetEsIdentity(Me.Label4, False)
        Me.Extender1.SetEsRequerido(Me.Label4, False)
        Me.Label4.Location = New System.Drawing.Point(137, 40)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(72, 20)
        Me.Label4.TabIndex = 7
        Me.Extender1.SetTabla(Me.Label4, "")
        Me.Label4.Text = "#Inferior#"
        Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.Extender1.SetTipo(Me.Label4, "")
        Me.Extender1.SetValorPorDefault(Me.Label4, "")
        '
        'Label3
        '
        Me.Extender1.SetCampoAfectar(Me.Label3, "")
        Me.Extender1.SetCampoLlave(Me.Label3, "")
        Me.Extender1.SetCampoMostrar(Me.Label3, "")
        Me.Extender1.SetConsulta(Me.Label3, "")
        Me.Extender1.SetEsEtiqueta(Me.Label3, False)
        Me.Extender1.SetEsIdentity(Me.Label3, False)
        Me.Extender1.SetEsRequerido(Me.Label3, False)
        Me.Label3.Location = New System.Drawing.Point(6, 40)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(74, 20)
        Me.Label3.TabIndex = 6
        Me.Extender1.SetTabla(Me.Label3, "")
        Me.Label3.Text = "#Derecho#"
        Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.Extender1.SetTipo(Me.Label3, "")
        Me.Extender1.SetValorPorDefault(Me.Label3, "")
        '
        'Label2
        '
        Me.Extender1.SetCampoAfectar(Me.Label2, "")
        Me.Extender1.SetCampoLlave(Me.Label2, "")
        Me.Extender1.SetCampoMostrar(Me.Label2, "")
        Me.Extender1.SetConsulta(Me.Label2, "")
        Me.Extender1.SetEsEtiqueta(Me.Label2, False)
        Me.Extender1.SetEsIdentity(Me.Label2, False)
        Me.Extender1.SetEsRequerido(Me.Label2, False)
        Me.Label2.Location = New System.Drawing.Point(8, 16)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(72, 20)
        Me.Label2.TabIndex = 5
        Me.Extender1.SetTabla(Me.Label2, "")
        Me.Label2.Text = "#Izquierdo#"
        Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.Extender1.SetTipo(Me.Label2, "")
        Me.Extender1.SetValorPorDefault(Me.Label2, "")
        '
        'Label1
        '
        Me.Extender1.SetCampoAfectar(Me.Label1, "")
        Me.Extender1.SetCampoLlave(Me.Label1, "")
        Me.Extender1.SetCampoMostrar(Me.Label1, "")
        Me.Extender1.SetConsulta(Me.Label1, "")
        Me.Extender1.SetEsEtiqueta(Me.Label1, False)
        Me.Extender1.SetEsIdentity(Me.Label1, False)
        Me.Extender1.SetEsRequerido(Me.Label1, False)
        Me.Label1.Location = New System.Drawing.Point(137, 16)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(72, 20)
        Me.Label1.TabIndex = 4
        Me.Extender1.SetTabla(Me.Label1, "")
        Me.Label1.Text = "#Superior#"
        Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.Extender1.SetTipo(Me.Label1, "")
        Me.Extender1.SetValorPorDefault(Me.Label1, "")
        '
        'TextBox4
        '
        Me.Extender1.SetCampoAfectar(Me.TextBox4, "")
        Me.Extender1.SetCampoLlave(Me.TextBox4, "")
        Me.Extender1.SetCampoMostrar(Me.TextBox4, "")
        Me.Extender1.SetConsulta(Me.TextBox4, "")
        Me.Extender1.SetEsEtiqueta(Me.TextBox4, False)
        Me.Extender1.SetEsIdentity(Me.TextBox4, False)
        Me.Extender1.SetEsRequerido(Me.TextBox4, False)
        Me.TextBox4.Location = New System.Drawing.Point(215, 40)
        Me.TextBox4.Name = "TextBox4"
        Me.TextBox4.Size = New System.Drawing.Size(32, 20)
        Me.TextBox4.TabIndex = 3
        Me.Extender1.SetTabla(Me.TextBox4, "")
        Me.TextBox4.Text = "50"
        Me.TextBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        Me.Extender1.SetTipo(Me.TextBox4, "")
        Me.Extender1.SetValorPorDefault(Me.TextBox4, "")
        '
        'TextBox3
        '
        Me.Extender1.SetCampoAfectar(Me.TextBox3, "")
        Me.Extender1.SetCampoLlave(Me.TextBox3, "")
        Me.Extender1.SetCampoMostrar(Me.TextBox3, "")
        Me.Extender1.SetConsulta(Me.TextBox3, "")
        Me.Extender1.SetEsEtiqueta(Me.TextBox3, False)
        Me.Extender1.SetEsIdentity(Me.TextBox3, False)
        Me.Extender1.SetEsRequerido(Me.TextBox3, False)
        Me.TextBox3.Location = New System.Drawing.Point(215, 16)
        Me.TextBox3.Name = "TextBox3"
        Me.TextBox3.Size = New System.Drawing.Size(32, 20)
        Me.TextBox3.TabIndex = 2
        Me.Extender1.SetTabla(Me.TextBox3, "")
        Me.TextBox3.Text = "50"
        Me.TextBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        Me.Extender1.SetTipo(Me.TextBox3, "")
        Me.Extender1.SetValorPorDefault(Me.TextBox3, "")
        '
        'TextBox2
        '
        Me.Extender1.SetCampoAfectar(Me.TextBox2, "")
        Me.Extender1.SetCampoLlave(Me.TextBox2, "")
        Me.Extender1.SetCampoMostrar(Me.TextBox2, "")
        Me.Extender1.SetConsulta(Me.TextBox2, "")
        Me.Extender1.SetEsEtiqueta(Me.TextBox2, False)
        Me.Extender1.SetEsIdentity(Me.TextBox2, False)
        Me.Extender1.SetEsRequerido(Me.TextBox2, False)
        Me.TextBox2.Location = New System.Drawing.Point(84, 40)
        Me.TextBox2.Name = "TextBox2"
        Me.TextBox2.Size = New System.Drawing.Size(32, 20)
        Me.TextBox2.TabIndex = 1
        Me.Extender1.SetTabla(Me.TextBox2, "")
        Me.TextBox2.Text = "50"
        Me.TextBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        Me.Extender1.SetTipo(Me.TextBox2, "")
        Me.Extender1.SetValorPorDefault(Me.TextBox2, "")
        '
        'TextBox1
        '
        Me.Extender1.SetCampoAfectar(Me.TextBox1, "")
        Me.Extender1.SetCampoLlave(Me.TextBox1, "")
        Me.Extender1.SetCampoMostrar(Me.TextBox1, "")
        Me.Extender1.SetConsulta(Me.TextBox1, "")
        Me.Extender1.SetEsEtiqueta(Me.TextBox1, False)
        Me.Extender1.SetEsIdentity(Me.TextBox1, False)
        Me.Extender1.SetEsRequerido(Me.TextBox1, False)
        Me.TextBox1.Location = New System.Drawing.Point(84, 16)
        Me.TextBox1.Name = "TextBox1"
        Me.TextBox1.Size = New System.Drawing.Size(32, 20)
        Me.TextBox1.TabIndex = 0
        Me.Extender1.SetTabla(Me.TextBox1, "")
        Me.TextBox1.Text = "50"
        Me.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        Me.Extender1.SetTipo(Me.TextBox1, "")
        Me.Extender1.SetValorPorDefault(Me.TextBox1, "")
        '
        'GroupBox1
        '
        Me.Extender1.SetCampoAfectar(Me.GroupBox1, "")
        Me.Extender1.SetCampoLlave(Me.GroupBox1, "")
        Me.Extender1.SetCampoMostrar(Me.GroupBox1, "")
        Me.Extender1.SetConsulta(Me.GroupBox1, "")
        Me.GroupBox1.Controls.Add(Me.RadioButton2)
        Me.GroupBox1.Controls.Add(Me.RadioButton1)
        Me.GroupBox1.Controls.Add(Me.PictureBox2)
        Me.GroupBox1.Controls.Add(Me.PictureBox1)
        Me.Extender1.SetEsEtiqueta(Me.GroupBox1, False)
        Me.Extender1.SetEsIdentity(Me.GroupBox1, False)
        Me.Extender1.SetEsRequerido(Me.GroupBox1, False)
        Me.GroupBox1.Location = New System.Drawing.Point(3, 8)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(272, 56)
        Me.GroupBox1.TabIndex = 9
        Me.Extender1.SetTabla(Me.GroupBox1, "")
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = "#OrientacionPagina#"
        Me.Extender1.SetTipo(Me.GroupBox1, "")
        Me.Extender1.SetValorPorDefault(Me.GroupBox1, "")
        '
        'RadioButton2
        '
        Me.Extender1.SetCampoAfectar(Me.RadioButton2, "")
        Me.Extender1.SetCampoLlave(Me.RadioButton2, "")
        Me.Extender1.SetCampoMostrar(Me.RadioButton2, "")
        Me.Extender1.SetConsulta(Me.RadioButton2, "")
        Me.Extender1.SetEsEtiqueta(Me.RadioButton2, False)
        Me.Extender1.SetEsIdentity(Me.RadioButton2, False)
        Me.Extender1.SetEsRequerido(Me.RadioButton2, False)
        Me.RadioButton2.Location = New System.Drawing.Point(183, 24)
        Me.RadioButton2.Name = "RadioButton2"
        Me.RadioButton2.Size = New System.Drawing.Size(80, 16)
        Me.RadioButton2.TabIndex = 3
        Me.Extender1.SetTabla(Me.RadioButton2, "")
        Me.RadioButton2.Text = "#Horizontal#"
        Me.Extender1.SetTipo(Me.RadioButton2, "")
        Me.Extender1.SetValorPorDefault(Me.RadioButton2, "")
        '
        'RadioButton1
        '
        Me.Extender1.SetCampoAfectar(Me.RadioButton1, "")
        Me.Extender1.SetCampoLlave(Me.RadioButton1, "")
        Me.Extender1.SetCampoMostrar(Me.RadioButton1, "")
        Me.RadioButton1.Checked = True
        Me.Extender1.SetConsulta(Me.RadioButton1, "")
        Me.Extender1.SetEsEtiqueta(Me.RadioButton1, False)
        Me.Extender1.SetEsIdentity(Me.RadioButton1, False)
        Me.Extender1.SetEsRequerido(Me.RadioButton1, False)
        Me.RadioButton1.Location = New System.Drawing.Point(64, 24)
        Me.RadioButton1.Name = "RadioButton1"
        Me.RadioButton1.Size = New System.Drawing.Size(72, 16)
        Me.RadioButton1.TabIndex = 2
        Me.Extender1.SetTabla(Me.RadioButton1, "")
        Me.RadioButton1.TabStop = True
        Me.RadioButton1.Text = "#Vertical#"
        Me.Extender1.SetTipo(Me.RadioButton1, "")
        Me.Extender1.SetValorPorDefault(Me.RadioButton1, "")
        '
        'PictureBox2
        '
        Me.Extender1.SetCampoAfectar(Me.PictureBox2, "")
        Me.Extender1.SetCampoLlave(Me.PictureBox2, "")
        Me.Extender1.SetCampoMostrar(Me.PictureBox2, "")
        Me.Extender1.SetConsulta(Me.PictureBox2, "")
        Me.Extender1.SetEsEtiqueta(Me.PictureBox2, False)
        Me.Extender1.SetEsIdentity(Me.PictureBox2, False)
        Me.Extender1.SetEsRequerido(Me.PictureBox2, False)
        Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image)
        Me.PictureBox2.Location = New System.Drawing.Point(24, 18)
        Me.PictureBox2.Name = "PictureBox2"
        Me.PictureBox2.Size = New System.Drawing.Size(40, 32)
        Me.PictureBox2.TabIndex = 1
        Me.Extender1.SetTabla(Me.PictureBox2, "")
        Me.PictureBox2.TabStop = False
        Me.Extender1.SetTipo(Me.PictureBox2, "")
        Me.Extender1.SetValorPorDefault(Me.PictureBox2, "")
        '
        'PictureBox1
        '
        Me.Extender1.SetCampoAfectar(Me.PictureBox1, "")
        Me.Extender1.SetCampoLlave(Me.PictureBox1, "")
        Me.Extender1.SetCampoMostrar(Me.PictureBox1, "")
        Me.Extender1.SetConsulta(Me.PictureBox1, "")
        Me.Extender1.SetEsEtiqueta(Me.PictureBox1, False)
        Me.Extender1.SetEsIdentity(Me.PictureBox1, False)
        Me.Extender1.SetEsRequerido(Me.PictureBox1, False)
        Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
        Me.PictureBox1.Location = New System.Drawing.Point(141, 18)
        Me.PictureBox1.Name = "PictureBox1"
        Me.PictureBox1.Size = New System.Drawing.Size(40, 32)
        Me.PictureBox1.TabIndex = 0
        Me.Extender1.SetTabla(Me.PictureBox1, "")
        Me.PictureBox1.TabStop = False
        Me.Extender1.SetTipo(Me.PictureBox1, "")
        Me.Extender1.SetValorPorDefault(Me.PictureBox1, "")
        '
        'TabPage2
        '
        Me.Extender1.SetCampoAfectar(Me.TabPage2, "")
        Me.Extender1.SetCampoLlave(Me.TabPage2, "")
        Me.Extender1.SetCampoMostrar(Me.TabPage2, "")
        Me.Extender1.SetConsulta(Me.TabPage2, "")
        Me.TabPage2.Controls.Add(Me.GroupBox3)
        Me.TabPage2.Controls.Add(Me.txtEncabezado)
        Me.TabPage2.Controls.Add(Me.Label5)
        Me.Extender1.SetEsEtiqueta(Me.TabPage2, False)
        Me.Extender1.SetEsIdentity(Me.TabPage2, False)
        Me.Extender1.SetEsRequerido(Me.TabPage2, False)
        Me.TabPage2.Location = New System.Drawing.Point(4, 22)
        Me.TabPage2.Name = "TabPage2"
        Me.TabPage2.Size = New System.Drawing.Size(280, 222)
        Me.TabPage2.TabIndex = 1
        Me.Extender1.SetTabla(Me.TabPage2, "")
        Me.TabPage2.Text = "Encabezado"
        Me.Extender1.SetTipo(Me.TabPage2, "")
        Me.Extender1.SetValorPorDefault(Me.TabPage2, "")
        '
        'GroupBox3
        '
        Me.Extender1.SetCampoAfectar(Me.GroupBox3, "")
        Me.Extender1.SetCampoLlave(Me.GroupBox3, "")
        Me.Extender1.SetCampoMostrar(Me.GroupBox3, "")
        Me.Extender1.SetConsulta(Me.GroupBox3, "")
        Me.GroupBox3.Controls.Add(Me.chkCursiva)
        Me.GroupBox3.Controls.Add(Me.chkNegrita)
        Me.GroupBox3.Controls.Add(Me.chkNormal)
        Me.GroupBox3.Controls.Add(Me.GroupBox5)
        Me.GroupBox3.Controls.Add(Me.optDerecha)
        Me.GroupBox3.Controls.Add(Me.optCentrar)
        Me.GroupBox3.Controls.Add(Me.optIzquierda)
        Me.Extender1.SetEsEtiqueta(Me.GroupBox3, False)
        Me.Extender1.SetEsIdentity(Me.GroupBox3, False)
        Me.Extender1.SetEsRequerido(Me.GroupBox3, False)
        Me.GroupBox3.Location = New System.Drawing.Point(2, 97)
        Me.GroupBox3.Name = "GroupBox3"
        Me.GroupBox3.Size = New System.Drawing.Size(274, 121)
        Me.GroupBox3.TabIndex = 13
        Me.Extender1.SetTabla(Me.GroupBox3, "")
        Me.GroupBox3.TabStop = False
        Me.GroupBox3.Text = "#Formato#"
        Me.Extender1.SetTipo(Me.GroupBox3, "")
        Me.Extender1.SetValorPorDefault(Me.GroupBox3, "")
        '
        'chkCursiva
        '
        Me.Extender1.SetCampoAfectar(Me.chkCursiva, "")
        Me.Extender1.SetCampoLlave(Me.chkCursiva, "")
        Me.Extender1.SetCampoMostrar(Me.chkCursiva, "")
        Me.Extender1.SetConsulta(Me.chkCursiva, "")
        Me.Extender1.SetEsEtiqueta(Me.chkCursiva, False)
        Me.Extender1.SetEsIdentity(Me.chkCursiva, False)
        Me.Extender1.SetEsRequerido(Me.chkCursiva, False)
        Me.chkCursiva.Location = New System.Drawing.Point(126, 88)
        Me.chkCursiva.Name = "chkCursiva"
        Me.chkCursiva.Size = New System.Drawing.Size(140, 16)
        Me.chkCursiva.TabIndex = 6
        Me.Extender1.SetTabla(Me.chkCursiva, "")
        Me.chkCursiva.Text = "#Cursiva#"
        Me.Extender1.SetTipo(Me.chkCursiva, "")
        Me.Extender1.SetValorPorDefault(Me.chkCursiva, "")
        '
        'chkNegrita
        '
        Me.Extender1.SetCampoAfectar(Me.chkNegrita, "")
        Me.Extender1.SetCampoLlave(Me.chkNegrita, "")
        Me.Extender1.SetCampoMostrar(Me.chkNegrita, "")
        Me.Extender1.SetConsulta(Me.chkNegrita, "")
        Me.Extender1.SetEsEtiqueta(Me.chkNegrita, False)
        Me.Extender1.SetEsIdentity(Me.chkNegrita, False)
        Me.Extender1.SetEsRequerido(Me.chkNegrita, False)
        Me.chkNegrita.Location = New System.Drawing.Point(126, 60)
        Me.chkNegrita.Name = "chkNegrita"
        Me.chkNegrita.Size = New System.Drawing.Size(140, 16)
        Me.chkNegrita.TabIndex = 5
        Me.Extender1.SetTabla(Me.chkNegrita, "")
        Me.chkNegrita.Text = "#Negrita#"
        Me.Extender1.SetTipo(Me.chkNegrita, "")
        Me.Extender1.SetValorPorDefault(Me.chkNegrita, "")
        '
        'chkNormal
        '
        Me.Extender1.SetCampoAfectar(Me.chkNormal, "")
        Me.Extender1.SetCampoLlave(Me.chkNormal, "")
        Me.Extender1.SetCampoMostrar(Me.chkNormal, "")
        Me.chkNormal.Checked = True
        Me.chkNormal.CheckState = System.Windows.Forms.CheckState.Checked
        Me.Extender1.SetConsulta(Me.chkNormal, "")
        Me.Extender1.SetEsEtiqueta(Me.chkNormal, False)
        Me.Extender1.SetEsIdentity(Me.chkNormal, False)
        Me.Extender1.SetEsRequerido(Me.chkNormal, False)
        Me.chkNormal.Location = New System.Drawing.Point(126, 32)
        Me.chkNormal.Name = "chkNormal"
        Me.chkNormal.Size = New System.Drawing.Size(140, 16)
        Me.chkNormal.TabIndex = 4
        Me.Extender1.SetTabla(Me.chkNormal, "")
        Me.chkNormal.Text = "#Normal#"
        Me.Extender1.SetTipo(Me.chkNormal, "")
        Me.Extender1.SetValorPorDefault(Me.chkNormal, "")
        '
        'GroupBox5
        '
        Me.Extender1.SetCampoAfectar(Me.GroupBox5, "")
        Me.Extender1.SetCampoLlave(Me.GroupBox5, "")
        Me.Extender1.SetCampoMostrar(Me.GroupBox5, "")
        Me.Extender1.SetConsulta(Me.GroupBox5, "")
        Me.Extender1.SetEsEtiqueta(Me.GroupBox5, False)
        Me.Extender1.SetEsIdentity(Me.GroupBox5, False)
        Me.Extender1.SetEsRequerido(Me.GroupBox5, False)
        Me.GroupBox5.Location = New System.Drawing.Point(122, 5)
        Me.GroupBox5.Name = "GroupBox5"
        Me.GroupBox5.Size = New System.Drawing.Size(2, 110)
        Me.GroupBox5.TabIndex = 3
        Me.Extender1.SetTabla(Me.GroupBox5, "")
        Me.GroupBox5.TabStop = False
        Me.GroupBox5.Text = "GroupBox5"
        Me.Extender1.SetTipo(Me.GroupBox5, "")
        Me.Extender1.SetValorPorDefault(Me.GroupBox5, "")
        '
        'optDerecha
        '
        Me.Extender1.SetCampoAfectar(Me.optDerecha, "")
        Me.Extender1.SetCampoLlave(Me.optDerecha, "")
        Me.Extender1.SetCampoMostrar(Me.optDerecha, "")
        Me.Extender1.SetConsulta(Me.optDerecha, "")
        Me.Extender1.SetEsEtiqueta(Me.optDerecha, False)
        Me.Extender1.SetEsIdentity(Me.optDerecha, False)
        Me.Extender1.SetEsRequerido(Me.optDerecha, False)
        Me.optDerecha.Location = New System.Drawing.Point(8, 88)
        Me.optDerecha.Name = "optDerecha"
        Me.optDerecha.Size = New System.Drawing.Size(104, 16)
        Me.optDerecha.TabIndex = 2
        Me.Extender1.SetTabla(Me.optDerecha, "")
        Me.optDerecha.Text = "#Derecha#"
        Me.Extender1.SetTipo(Me.optDerecha, "")
        Me.Extender1.SetValorPorDefault(Me.optDerecha, "")
        '
        'optCentrar
        '
        Me.Extender1.SetCampoAfectar(Me.optCentrar, "")
        Me.Extender1.SetCampoLlave(Me.optCentrar, "")
        Me.Extender1.SetCampoMostrar(Me.optCentrar, "")
        Me.optCentrar.CheckAlign = System.Drawing.ContentAlignment.TopLeft
        Me.optCentrar.Checked = True
        Me.Extender1.SetConsulta(Me.optCentrar, "")
        Me.Extender1.SetEsEtiqueta(Me.optCentrar, False)
        Me.Extender1.SetEsIdentity(Me.optCentrar, False)
        Me.Extender1.SetEsRequerido(Me.optCentrar, False)
        Me.optCentrar.Location = New System.Drawing.Point(8, 60)
        Me.optCentrar.Name = "optCentrar"
        Me.optCentrar.Size = New System.Drawing.Size(104, 16)
        Me.optCentrar.TabIndex = 1
        Me.Extender1.SetTabla(Me.optCentrar, "")
        Me.optCentrar.TabStop = True
        Me.optCentrar.Text = "#Centrar#"
        Me.Extender1.SetTipo(Me.optCentrar, "")
        Me.Extender1.SetValorPorDefault(Me.optCentrar, "")
        '
        'optIzquierda
        '
        Me.Extender1.SetCampoAfectar(Me.optIzquierda, "")
        Me.Extender1.SetCampoLlave(Me.optIzquierda, "")
        Me.Extender1.SetCampoMostrar(Me.optIzquierda, "")
        Me.Extender1.SetConsulta(Me.optIzquierda, "")
        Me.Extender1.SetEsEtiqueta(Me.optIzquierda, False)
        Me.Extender1.SetEsIdentity(Me.optIzquierda, False)
        Me.Extender1.SetEsRequerido(Me.optIzquierda, False)
        Me.optIzquierda.Location = New System.Drawing.Point(8, 32)
        Me.optIzquierda.Name = "optIzquierda"
        Me.optIzquierda.Size = New System.Drawing.Size(104, 16)
        Me.optIzquierda.TabIndex = 0
        Me.Extender1.SetTabla(Me.optIzquierda, "")
        Me.optIzquierda.Text = "#Izquierda#"
        Me.Extender1.SetTipo(Me.optIzquierda, "")
        Me.Extender1.SetValorPorDefault(Me.optIzquierda, "")
        '
        'txtEncabezado
        '
        Me.Extender1.SetCampoAfectar(Me.txtEncabezado, "")
        Me.Extender1.SetCampoLlave(Me.txtEncabezado, "")
        Me.Extender1.SetCampoMostrar(Me.txtEncabezado, "")
        Me.Extender1.SetConsulta(Me.txtEncabezado, "")
        Me.Extender1.SetEsEtiqueta(Me.txtEncabezado, False)
        Me.Extender1.SetEsIdentity(Me.txtEncabezado, False)
        Me.Extender1.SetEsRequerido(Me.txtEncabezado, False)
        Me.txtEncabezado.Location = New System.Drawing.Point(2, 22)
        Me.txtEncabezado.Multiline = True
        Me.txtEncabezado.Name = "txtEncabezado"
        Me.txtEncabezado.Size = New System.Drawing.Size(275, 72)
        Me.txtEncabezado.TabIndex = 11
        Me.Extender1.SetTabla(Me.txtEncabezado, "")
        Me.txtEncabezado.Text = ""
        Me.Extender1.SetTipo(Me.txtEncabezado, "")
        Me.Extender1.SetValorPorDefault(Me.txtEncabezado, "")
        '
        'Label5
        '
        Me.Extender1.SetCampoAfectar(Me.Label5, "")
        Me.Extender1.SetCampoLlave(Me.Label5, "")
        Me.Extender1.SetCampoMostrar(Me.Label5, "")
        Me.Extender1.SetConsulta(Me.Label5, "")
        Me.Extender1.SetEsEtiqueta(Me.Label5, False)
        Me.Extender1.SetEsIdentity(Me.Label5, False)
        Me.Extender1.SetEsRequerido(Me.Label5, False)
        Me.Label5.Location = New System.Drawing.Point(2, 6)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(272, 20)
        Me.Label5.TabIndex = 12
        Me.Extender1.SetTabla(Me.Label5, "")
        Me.Label5.Text = "#EncabezadoPagina#"
        Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        Me.Extender1.SetTipo(Me.Label5, "")
        Me.Extender1.SetValorPorDefault(Me.Label5, "")
        '
        'TabPage3
        '
        Me.Extender1.SetCampoAfectar(Me.TabPage3, "")
        Me.Extender1.SetCampoLlave(Me.TabPage3, "")
        Me.Extender1.SetCampoMostrar(Me.TabPage3, "")
        Me.Extender1.SetConsulta(Me.TabPage3, "")
        Me.TabPage3.Controls.Add(Me.GroupBox4)
        Me.TabPage3.Controls.Add(Me.Label7)
        Me.TabPage3.Controls.Add(Me.txtPie)
        Me.Extender1.SetEsEtiqueta(Me.TabPage3, False)
        Me.Extender1.SetEsIdentity(Me.TabPage3, False)
        Me.Extender1.SetEsRequerido(Me.TabPage3, False)
        Me.TabPage3.Location = New System.Drawing.Point(4, 22)
        Me.TabPage3.Name = "TabPage3"
        Me.TabPage3.Size = New System.Drawing.Size(280, 222)
        Me.TabPage3.TabIndex = 2
        Me.Extender1.SetTabla(Me.TabPage3, "")
        Me.TabPage3.Text = "Pie"
        Me.Extender1.SetTipo(Me.TabPage3, "")
        Me.Extender1.SetValorPorDefault(Me.TabPage3, "")
        '
        'GroupBox4
        '
        Me.Extender1.SetCampoAfectar(Me.GroupBox4, "")
        Me.Extender1.SetCampoLlave(Me.GroupBox4, "")
        Me.Extender1.SetCampoMostrar(Me.GroupBox4, "")
        Me.Extender1.SetConsulta(Me.GroupBox4, "")
        Me.GroupBox4.Controls.Add(Me.chkCurP)
        Me.GroupBox4.Controls.Add(Me.chkNegP)
        Me.GroupBox4.Controls.Add(Me.chkNorP)
        Me.GroupBox4.Controls.Add(Me.GroupBox6)
        Me.GroupBox4.Controls.Add(Me.optDerP)
        Me.GroupBox4.Controls.Add(Me.optCenP)
        Me.GroupBox4.Controls.Add(Me.optIzqP)
        Me.Extender1.SetEsEtiqueta(Me.GroupBox4, False)
        Me.Extender1.SetEsIdentity(Me.GroupBox4, False)
        Me.Extender1.SetEsRequerido(Me.GroupBox4, False)
        Me.GroupBox4.Location = New System.Drawing.Point(2, 97)
        Me.GroupBox4.Name = "GroupBox4"
        Me.GroupBox4.Size = New System.Drawing.Size(274, 121)
        Me.GroupBox4.TabIndex = 14
        Me.Extender1.SetTabla(Me.GroupBox4, "")
        Me.GroupBox4.TabStop = False
        Me.GroupBox4.Text = "#Formato#"
        Me.Extender1.SetTipo(Me.GroupBox4, "")
        Me.Extender1.SetValorPorDefault(Me.GroupBox4, "")
        '
        'chkCurP
        '
        Me.Extender1.SetCampoAfectar(Me.chkCurP, "")
        Me.Extender1.SetCampoLlave(Me.chkCurP, "")
        Me.Extender1.SetCampoMostrar(Me.chkCurP, "")
        Me.Extender1.SetConsulta(Me.chkCurP, "")
        Me.Extender1.SetEsEtiqueta(Me.chkCurP, False)
        Me.Extender1.SetEsIdentity(Me.chkCurP, False)
        Me.Extender1.SetEsRequerido(Me.chkCurP, False)
        Me.chkCurP.Location = New System.Drawing.Point(126, 88)
        Me.chkCurP.Name = "chkCurP"
        Me.chkCurP.Size = New System.Drawing.Size(140, 16)
        Me.chkCurP.TabIndex = 14
        Me.Extender1.SetTabla(Me.chkCurP, "")
        Me.chkCurP.Text = "#Cursiva#"
        Me.Extender1.SetTipo(Me.chkCurP, "")
        Me.Extender1.SetValorPorDefault(Me.chkCurP, "")
        '
        'chkNegP
        '
        Me.Extender1.SetCampoAfectar(Me.chkNegP, "")
        Me.Extender1.SetCampoLlave(Me.chkNegP, "")
        Me.Extender1.SetCampoMostrar(Me.chkNegP, "")
        Me.Extender1.SetConsulta(Me.chkNegP, "")
        Me.Extender1.SetEsEtiqueta(Me.chkNegP, False)
        Me.Extender1.SetEsIdentity(Me.chkNegP, False)
        Me.Extender1.SetEsRequerido(Me.chkNegP, False)
        Me.chkNegP.Location = New System.Drawing.Point(126, 60)
        Me.chkNegP.Name = "chkNegP"
        Me.chkNegP.Size = New System.Drawing.Size(140, 16)
        Me.chkNegP.TabIndex = 13
        Me.Extender1.SetTabla(Me.chkNegP, "")
        Me.chkNegP.Text = "#Negrita#"
        Me.Extender1.SetTipo(Me.chkNegP, "")
        Me.Extender1.SetValorPorDefault(Me.chkNegP, "")
        '
        'chkNorP
        '
        Me.Extender1.SetCampoAfectar(Me.chkNorP, "")
        Me.Extender1.SetCampoLlave(Me.chkNorP, "")
        Me.Extender1.SetCampoMostrar(Me.chkNorP, "")
        Me.chkNorP.Checked = True
        Me.chkNorP.CheckState = System.Windows.Forms.CheckState.Checked
        Me.Extender1.SetConsulta(Me.chkNorP, "")
        Me.Extender1.SetEsEtiqueta(Me.chkNorP, False)
        Me.Extender1.SetEsIdentity(Me.chkNorP, False)
        Me.Extender1.SetEsRequerido(Me.chkNorP, False)
        Me.chkNorP.Location = New System.Drawing.Point(126, 32)
        Me.chkNorP.Name = "chkNorP"
        Me.chkNorP.Size = New System.Drawing.Size(140, 16)
        Me.chkNorP.TabIndex = 12
        Me.Extender1.SetTabla(Me.chkNorP, "")
        Me.chkNorP.Text = "#Normal#"
        Me.Extender1.SetTipo(Me.chkNorP, "")
        Me.Extender1.SetValorPorDefault(Me.chkNorP, "")
        '
        'GroupBox6
        '
        Me.Extender1.SetCampoAfectar(Me.GroupBox6, "")
        Me.Extender1.SetCampoLlave(Me.GroupBox6, "")
        Me.Extender1.SetCampoMostrar(Me.GroupBox6, "")
        Me.Extender1.SetConsulta(Me.GroupBox6, "")
        Me.Extender1.SetEsEtiqueta(Me.GroupBox6, False)
        Me.Extender1.SetEsIdentity(Me.GroupBox6, False)
        Me.Extender1.SetEsRequerido(Me.GroupBox6, False)
        Me.GroupBox6.Location = New System.Drawing.Point(122, 5)
        Me.GroupBox6.Name = "GroupBox6"
        Me.GroupBox6.Size = New System.Drawing.Size(2, 110)
        Me.GroupBox6.TabIndex = 11
        Me.Extender1.SetTabla(Me.GroupBox6, "")
        Me.GroupBox6.TabStop = False
        Me.GroupBox6.Text = "GroupBox6"
        Me.Extender1.SetTipo(Me.GroupBox6, "")
        Me.Extender1.SetValorPorDefault(Me.GroupBox6, "")
        '
        'optDerP
        '
        Me.Extender1.SetCampoAfectar(Me.optDerP, "")
        Me.Extender1.SetCampoLlave(Me.optDerP, "")
        Me.Extender1.SetCampoMostrar(Me.optDerP, "")
        Me.Extender1.SetConsulta(Me.optDerP, "")
        Me.Extender1.SetEsEtiqueta(Me.optDerP, False)
        Me.Extender1.SetEsIdentity(Me.optDerP, False)
        Me.Extender1.SetEsRequerido(Me.optDerP, False)
        Me.optDerP.Location = New System.Drawing.Point(8, 88)
        Me.optDerP.Name = "optDerP"
        Me.optDerP.Size = New System.Drawing.Size(104, 16)
        Me.optDerP.TabIndex = 10
        Me.Extender1.SetTabla(Me.optDerP, "")
        Me.optDerP.Text = "#Derecha#"
        Me.Extender1.SetTipo(Me.optDerP, "")
        Me.Extender1.SetValorPorDefault(Me.optDerP, "")
        '
        'optCenP
        '
        Me.Extender1.SetCampoAfectar(Me.optCenP, "")
        Me.Extender1.SetCampoLlave(Me.optCenP, "")
        Me.Extender1.SetCampoMostrar(Me.optCenP, "")
        Me.optCenP.CheckAlign = System.Drawing.ContentAlignment.TopLeft
        Me.optCenP.Checked = True
        Me.Extender1.SetConsulta(Me.optCenP, "")
        Me.Extender1.SetEsEtiqueta(Me.optCenP, False)
        Me.Extender1.SetEsIdentity(Me.optCenP, False)
        Me.Extender1.SetEsRequerido(Me.optCenP, False)
        Me.optCenP.Location = New System.Drawing.Point(8, 60)
        Me.optCenP.Name = "optCenP"
        Me.optCenP.Size = New System.Drawing.Size(104, 16)
        Me.optCenP.TabIndex = 9
        Me.Extender1.SetTabla(Me.optCenP, "")
        Me.optCenP.TabStop = True
        Me.optCenP.Text = "#Centrar#"
        Me.Extender1.SetTipo(Me.optCenP, "")
        Me.Extender1.SetValorPorDefault(Me.optCenP, "")
        '
        'optIzqP
        '
        Me.Extender1.SetCampoAfectar(Me.optIzqP, "")
        Me.Extender1.SetCampoLlave(Me.optIzqP, "")
        Me.Extender1.SetCampoMostrar(Me.optIzqP, "")
        Me.Extender1.SetConsulta(Me.optIzqP, "")
        Me.Extender1.SetEsEtiqueta(Me.optIzqP, False)
        Me.Extender1.SetEsIdentity(Me.optIzqP, False)
        Me.Extender1.SetEsRequerido(Me.optIzqP, False)
        Me.optIzqP.Location = New System.Drawing.Point(8, 32)
        Me.optIzqP.Name = "optIzqP"
        Me.optIzqP.Size = New System.Drawing.Size(104, 16)
        Me.optIzqP.TabIndex = 8
        Me.Extender1.SetTabla(Me.optIzqP, "")
        Me.optIzqP.Text = "#Izquierda#"
        Me.Extender1.SetTipo(Me.optIzqP, "")
        Me.Extender1.SetValorPorDefault(Me.optIzqP, "")
        '
        'Label7
        '
        Me.Extender1.SetCampoAfectar(Me.Label7, "")
        Me.Extender1.SetCampoLlave(Me.Label7, "")
        Me.Extender1.SetCampoMostrar(Me.Label7, "")
        Me.Extender1.SetConsulta(Me.Label7, "")
        Me.Extender1.SetEsEtiqueta(Me.Label7, False)
        Me.Extender1.SetEsIdentity(Me.Label7, False)
        Me.Extender1.SetEsRequerido(Me.Label7, False)
        Me.Label7.Location = New System.Drawing.Point(4, 6)
        Me.Label7.Name = "Label7"
        Me.Label7.Size = New System.Drawing.Size(290, 16)
        Me.Label7.TabIndex = 13
        Me.Extender1.SetTabla(Me.Label7, "")
        Me.Label7.Text = "#PiePagina#"
        Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        Me.Extender1.SetTipo(Me.Label7, "")
        Me.Extender1.SetValorPorDefault(Me.Label7, "")
        '
        'txtPie
        '
        Me.Extender1.SetCampoAfectar(Me.txtPie, "")
        Me.Extender1.SetCampoLlave(Me.txtPie, "")
        Me.Extender1.SetCampoMostrar(Me.txtPie, "")
        Me.Extender1.SetConsulta(Me.txtPie, "")
        Me.Extender1.SetEsEtiqueta(Me.txtPie, False)
        Me.Extender1.SetEsIdentity(Me.txtPie, False)
        Me.Extender1.SetEsRequerido(Me.txtPie, False)
        Me.txtPie.Location = New System.Drawing.Point(2, 23)
        Me.txtPie.Multiline = True
        Me.txtPie.Name = "txtPie"
        Me.txtPie.Size = New System.Drawing.Size(275, 71)
        Me.txtPie.TabIndex = 12
        Me.Extender1.SetTabla(Me.txtPie, "")
        Me.txtPie.Text = ""
        Me.Extender1.SetTipo(Me.txtPie, "")
        Me.Extender1.SetValorPorDefault(Me.txtPie, "")
        '
        'Extender1
        '
        Me.Extender1.Enabled = True
        '
        'ConfigPagina
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.Extender1.SetCampoAfectar(Me, "")
        Me.Extender1.SetCampoLlave(Me, "")
        Me.Extender1.SetCampoMostrar(Me, "")
        Me.ClientSize = New System.Drawing.Size(296, 290)
        Me.Extender1.SetConsulta(Me, "")
        Me.Controls.Add(Me.TabControl1)
        Me.Controls.Add(Me.Button2)
        Me.Controls.Add(Me.Button1)
        Me.Extender1.SetEsEtiqueta(Me, False)
        Me.Extender1.SetEsIdentity(Me, False)
        Me.Extender1.SetEsRequerido(Me, False)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "ConfigPagina"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Extender1.SetTabla(Me, "")
        Me.Text = "#ConfiguracionPagina#"
        Me.Extender1.SetTipo(Me, "")
        Me.Extender1.SetValorPorDefault(Me, "")
        Me.TabControl1.ResumeLayout(False)
        Me.TabPage1.ResumeLayout(False)
        Me.GroupBox2.ResumeLayout(False)
        Me.GroupBox1.ResumeLayout(False)
        Me.TabPage2.ResumeLayout(False)
        Me.GroupBox3.ResumeLayout(False)
        Me.TabPage3.ResumeLayout(False)
        Me.GroupBox4.ResumeLayout(False)
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub TextBox1_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs)
        If Not (IsNumeric(TextBox1.Text)) Then MsgBox("El dato no es Valido", 48, "Aviso") : e.Cancel = True
    End Sub

    Private Sub TextBox2_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs)
        If Not (IsNumeric(TextBox2.Text)) Then MsgBox("El dato no es Valido", 48, "Aviso") : e.Cancel = True
    End Sub

    Private Sub TextBox3_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs)
        If Not (IsNumeric(TextBox3.Text)) Then MsgBox("El dato no es Valido", 48, "Aviso") : e.Cancel = True
    End Sub

    Private Sub TextBox4_Validating(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs)
        If Not (IsNumeric(TextBox4.Text)) Then MsgBox("El dato no es Valido", 48, "Aviso") : e.Cancel = True
    End Sub

    Private Sub pagesetup_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim pm As New FarPoint.Win.Spread.PrintMargin
        cGlobal.CargaEtiquetas(Me.Controls, Me)
        With pi
            If .Orientation = PrintOrientation.Landscape Then RadioButton2.Checked = True Else RadioButton1.Checked = True
            pm = .Margin
            TextBox1.Text = pm.Left
            TextBox2.Text = pm.Right
            TextBox3.Text = pm.Top
            TextBox4.Text = pm.Bottom
            pm.Header = 0
            pm.Footer = 0
        End With

       
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Close()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Dim pm As New PrintMargin
        Dim strFormatoE As String
        Dim strFormatoP As String

        If RadioButton2.Checked = True Then
            pi.Orientation = PrintOrientation.Landscape
        Else
            pi.Orientation = PrintOrientation.Portrait
        End If

        pm.Left = Integer.Parse(TextBox1.Text)
        pm.Right = Integer.Parse(TextBox2.Text)
        pm.Top = Integer.Parse(TextBox3.Text)
        pm.Bottom = Integer.Parse(TextBox4.Text)
        pi.Margin = pm

        If optCentrar.Checked Then
            strFormatoE = "/c"
        ElseIf optIzquierda.Checked Then
            strFormatoE = "/l"
        ElseIf optDerecha.Checked Then
            strFormatoE = "/r"
        End If
        If chkNegrita.Checked Then strFormatoE &= "/fb1" Else strFormatoE &= "/fb0"
        If chkCursiva.Checked Then strFormatoE &= "/fi1" Else strFormatoE &= "/fi0"
        If chkNormal.Checked Then strFormatoE &= "/fb0" & "/fi0"
        pi.Header = strFormatoE & txtEncabezado.Text & strFormatoE & "/n/n"

        If optCenP.Checked Then
            strFormatoE = "/c"
        ElseIf optIzqP.Checked Then
            strFormatoE = "/l"
        ElseIf optDerP.Checked Then
            strFormatoE = "/r"
        End If
        If chkNegP.Checked Then strFormatoE &= "/fb1" Else strFormatoE &= "/fb0"
        If chkCurP.Checked Then strFormatoE &= "/fi1" Else strFormatoE &= "/fi0"
        If chkNorP.Checked Then strFormatoE &= "/fb0" & "/fi0"
        pi.Footer = strFormatoE & txtPie.Text & strFormatoE & "/n/r/p"

        Me.Close()

    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        'If headerfooter.IsDisposed Then headerfooter = New headerfooter
        'headerfooter.ShowDialog()
        'headerfooter.BringToFront()

    End Sub
End Class
